<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><title>R: Galton's example of the relationship between height and...</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" type="text/css" href="R.css">
</head><body>

<table width="100%" summary="page for cubits"><tr><td>cubits</td><td align="right">R Documentation</td></tr></table>

<h2>Galton's example of the relationship between height and 'cubit' or forearm length</h2>

<h3>Description</h3>

<p>Francis Galton introduced the 'co-relation' in 1888 with a paper discussing how to measure the relationship between two variables.  His primary example was the relationship between height and forearm length.  The data table (cubits) is taken from Galton (1888).  Unfortunately, there seem to be some errors in the original data table in that the marginal totals do not match the table.
</p>
<p>The data frame, <code>heights</code>, is converted from this table. 
</p>


<h3>Usage</h3>

<pre>data(cubits)</pre>


<h3>Format</h3>


<p>A data frame with 9 observations on the following 8 variables.
</p>

<dl>
<dt><code>16.5</code></dt><dd><p>Cubit length of lowest category</p>
</dd>
<dt><code>16.75</code></dt><dd><p>a numeric vector</p>
</dd>
<dt><code>17.25</code></dt><dd><p>a numeric vector</p>
</dd>
<dt><code>17.75</code></dt><dd><p>a numeric vector</p>
</dd>
<dt><code>18.25</code></dt><dd><p>a numeric vector</p>
</dd>
<dt><code>18.75</code></dt><dd><p>a numeric vector</p>
</dd>
<dt><code>19.25</code></dt><dd><p>a numeric vector</p>
</dd>
<dt><code>19.75</code></dt><dd><p>a numeric vector</p>
</dd>
</dl>



<h3>Details</h3>

<p>Sir Francis Galton (1888) published the first demonstration of the correlation coefficient.  The regression (or reversion to mediocrity) of the height to the length of the left forearm (a cubit) was found to .8.  There seem to be some errors in the table as published in that the row sums do not agree with the actual row sums. These data are used to create a matrix using <code>table2matrix</code> for demonstrations of analysis and displays of the data.
</p>


<h3>Source</h3>

<p>Galton (1888)
</p>


<h3>References</h3>

<p>Galton, Francis (1888) Co-relations and their measurement. Proceedings of the Royal Society. London Series,45,135-145,
</p>


<h3>See Also</h3>

  <p><code>table2matrix</code>,  <code>table2df</code>, <code>ellipses</code>, <code>heights</code>, <code>peas</code>,<code>galton</code></p>


<h3>Examples</h3>

<pre>
data(cubits)
cubits
heights &lt;- table2df(cubits,labs = c("height","cubit"))
ellipses(heights,n=1,main="Galton's co-relation data set")
ellipses(jitter(heights$cubit,3),jitter(heights$height,3),pch=".",main="Galton's co-relation data set") #add in some noise to see the points

</pre>


</body></html>
